package com.hfzy.ihk.facade.linkcall.entity;

import com.hfzy.ihk.common.facade.BaseEntity;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * Created by Administrator on 2018/7/19.
 *
 * @author wws
 */
@Document(indexName = "#{elasticSearchConfig.indexName()}_test_log",shards = 24,replicas = 2, type = "data")
public class TestLog implements BaseEntity {

    @Id
    String id;

    @Field(type = FieldType.Text)
    String remark;

    public TestLog() {
    }

    public TestLog(String id, String remark) {
        this.id = id;
        this.remark = remark;
    }

    @Override
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
